/**
 * @Author DengJia
 * @Date 2021/8/14 10:08
 * @Description
 */

public class FinalizeDemo {
    public static void main(String[] args) {
        FinalizeDemo demo = new FinalizeDemo();

    }



    @Override
    protected void finalize() throws Throwable {
        System.out.println("finalize~");
    }
}
